home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="EUC-JP"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>mod_access - Apache HTTP Ñ╡í╝Ñ╨</title> <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /> <link href="../images/favicon.ico" rel="shortcut icon" /></head> <body> <div id="page-header"> <p class="menu"><a href="../mod/">ÑΓÑ╕Ñσí╝Ñδ</a> | <a href="../mod/directives.html">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">═╤╕∞</a> | <a href="../sitemap.html">Ñ╡ÑñÑ╚Ñ▐Ñ├Ñ╫</a></p> <p class="apache">Apache HTTP Ñ╡í╝Ñ╨ Ñ╨í╝Ñ╕ÑτÑ≤ 2.0</p> <img alt="" src="../images/feather.gif" /></div> <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> <div id="path"> <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Ñ╡í╝Ñ╨</a> > <a href="http://httpd.apache.org/docs-project/">Ñ╔Ñ¡ÑσÑßÑ≤Ñ╞í╝Ñ╖ÑτÑ≤</a> > <a href="../">Ñ╨í╝Ñ╕ÑτÑ≤ 2.0</a> > <a href="./">ÑΓÑ╕Ñσí╝Ñδ</a></div> <div id="page-content"> <div id="preamble"><h1>Apache ÑΓÑ╕Ñσí╝Ñδ mod_access</h1> <div class="toplang"> <p><span>Available Languages: </span><a href="../en/mod/mod_access.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ja/mod/mod_access.html" title="Japanese"> ja </a></p> </div> <table class="module"><tr><th><a href="module-dict.html#Description">└Γ╠└:</a></th><td>Ñ»ÑΘÑñÑóÑ≤Ñ╚ñ╬Ñ█Ñ╣Ñ╚╠╛íóIP ÑóÑ╔Ñ∞Ñ╣íóñ╜ñ╬┬╛ñ╬Ñ»ÑΘÑñÑóÑ≤Ñ╚ ñ╬ÑΩѻѿÑ╣Ñ╚ñ╬╞├─ºñ╦┤≡ñ┼ñññ┐ÑóÑ»Ñ╗Ñ╣└⌐╕µ╡í╟╜ñ≥─≤╢íñ╣ñδ</td></tr> <tr><th><a href="module-dict.html#Status">Ñ╣Ñ╞í╝Ñ┐Ñ╣:</a></th><td>Base</td></tr> <tr><th><a href="module-dict.html#ModuleIdentifier">ÑΓÑ╕Ñσí╝Ñδ╝▒╩╠╗╥:</a></th><td>access_module</td></tr> <tr><th><a href="module-dict.html#SourceFile">Ñ╜í╝Ñ╣Ñ╒ÑíÑñÑδ:</a></th><td>mod_access.c</td></tr> <tr><th><a href="module-dict.html#Compatibility">╕▀┤╣└¡:</a></th><td>2.1 ñΦñΩ┴░ñ╬Ñ╨í╝Ñ╕ÑτÑ≤ñ╬ñ▀ñ╟╗╚═╤▓─╟╜</td></tr></table> <h3>│╡═╫</h3> <p><code class="module"><a href="../mod/mod_access.html">mod_access</a></code> ñ╦ñΦñΩ─≤╢íñ╡ñ∞ñδÑ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧Ñ╡í╝Ñ╨ñ╬╞├─Ωñ╬╔⌠╩¼ñ╪ñ╬ ÑóÑ»Ñ╗Ñ╣ñ≥└⌐╕µñ╣ñδñ┐ñßñ╦ <code class="directive"><a href="../mod/core.html#directory"><Directory></a></code>, <code class="directive"><a href="../mod/core.html#files"><Files></a></code>, <code class="directive"><a href="../mod/core.html#location"><Location></a></code> ñ╚ <code><a href="core.html#accessfilename">.htaccess</a></code> Ñ╒ÑíÑñÑδñ╟╗╚═╤ñ╡ñ∞ñ▐ñ╣íúÑ»ÑΘÑñÑóÑ≤Ñ╚ñ╬Ñ█Ñ╣Ñ╚╠╛íóIP ÑóÑ╔Ñ∞Ñ╣ñΣ <a href="../env.html">┤─╢¡╩╤┐⌠</a>ñ╚ñ╖ñ╞╝Φ╞└ñ╡ñ∞ñ┐íóñ╜ñ╬┬╛ñ╬ÑΩѻѿÑ╣Ñ╚ñ╬╞├─ºñ╦┤≡ñ┼ñññ╞ ÑóÑ»Ñ╗Ñ╣└⌐╕µñ≥╣╘ñ╩ñªñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú<code class="directive"><a href="#allow">Allow</a></code> ñ╚ <code class="directive"><a href="#deny">Deny</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧ ñ╔ñ╬ñΦñªñ╩Ñ»ÑΘÑñÑóÑ≤Ñ╚ñ╦ÑóÑ»Ñ╗Ñ╣ñ≥ ╡÷▓─ñ╣ñδíóñ╖ñ╩ñññ½ñ≥╗╪─Ωñ╣ñδñ┐ñßñ╦╗╚═╤ñ╡ñ∞ñ▐ñ╣íú░∞╩²íó <code class="directive"><a href="#order">Order</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧ Ñ╟Ñ╒Ñ⌐ÑδÑ╚ñ╬ÑóÑ»Ñ╗Ñ╣╛⌡┬╓ñ╚íó <code class="directive"><a href="#allow">Allow</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╚ <code class="directive"><a href="#deny">Deny</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╚ñ╬ñ¬╕▀ñññ╪ñ╬▒╞╢┴ñ╬╗┼╩²ñ≥└▀─Ωñ╖ñ▐ñ╣íú </p> <p>Ñ█Ñ╣Ñ╚ñ╦ñΦñδÑóÑ»Ñ╗Ñ╣└⌐╕┬ñ╚Ñ╤Ñ╣Ñ∩í╝Ñ╔ñ╦ñΦñδ╟º╛┌ñ≥╞▒╗■ñ╦ ╣╘ñ╩ñªñ│ñ╚ñ¼▓─╟╜ñ╟ñ╣íúñ╜ñ╬╛∞╣τíóñ╜ñ╬╞≤ñ─ñ╬└⌐╕┬ñ╬┤╪╖╕ñ≥╗╪─Ωñ╣ñδñ┐ñßñ╦ <code class="directive"><a href="../mod/core.html#satisfy">Satisfy</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ≥╗╚═╤ñ╖ñ▐ñ╣íú</p> <p>░∞╚╠┼¬ñ╦ñ╧íóÑóÑ»Ñ╗Ñ╣└⌐╕┬Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧ñ╣ñ┘ñ╞ñ╬ÑóÑ»Ñ╗Ñ╣ÑßÑ╜Ñ├Ñ╔ (<code>GET</code>, <code>PUT</code>, <code>POST</code> ñ╩ñ╔) ñ╦┼¼═╤ñ╡ñ∞ñ▐ñ╣íúñ╜ñ╖ñ╞íóñ█ñ╚ñ≤ñ╔ñ╬╛∞╣τñ│ñ∞ñ¼╦╛ñ▐ñ╖ññ╞░║εñ╟ñ╣íú ñ╖ñ½ñ╖íó<code class="directive"><a href="../mod/core.html#limit"><Limit></a></code> Ñ╗Ñ»Ñ╖ÑτÑ≤ñ╬├µñ╦Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ≥╜±ñ»ñ│ñ╚ñ╟íó ░∞╔⌠ñ╬ÑßÑ╜Ñ├Ñ╔ñ╦ñ╬ñ▀└⌐╕┬ñ≥ñ½ñ▒ñδñ│ñ╚ñΓñ╟ñ¡ñ▐ñ╣íú</p> </div> <div id="quickview"><h3 class="directives">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</h3> <ul id="toc"> <li><img alt="" src="../images/down.gif" /> <a href="#allow">Allow</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#deny">Deny</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#order">Order</a></li> </ul> <h3>╗▓╛╚</h3> <ul class="seealso"> <li><code class="directive"><a href="../mod/core.html#satisfy">Satisfy</a></code></li> <li><code class="directive"><a href="../mod/core.html#require">Require</a></code></li> </ul></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Allow" id="Allow">Allow</a> <a name="allow" id="allow">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">└Γ╠└:</a></th><td>Ñ╡í╝Ñ╨ñ╬ñóñδ╬╬░Φñ╦ÑóÑ»Ñ╗Ñ╣ñ╟ñ¡ñδÑ█Ñ╣Ñ╚ñ≥└⌐╕µñ╣ñδ</td></tr> <tr><th><a href="directive-dict.html#Syntax">╣╜╩╕:</a></th><td><code> Allow from all|<var>host</var>|env=<var>env-variable</var> [<var>host</var>|env=<var>env-variable</var>] ...</code></td></tr> <tr><th><a href="directive-dict.html#Context">Ñ│Ñ≤Ñ╞Ñ¡Ñ╣Ñ╚:</a></th><td>Ñ╟ÑúÑ∞Ñ»Ñ╚ÑΩ, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">╛σ╜±ñ¡:</a></th><td>Limit</td></tr> <tr><th><a href="directive-dict.html#Status">Ñ╣Ñ╞í╝Ñ┐Ñ╣:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">ÑΓÑ╕Ñσí╝Ñδ:</a></th><td>mod_access</td></tr> </table> <p><code class="directive">Allow</code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧ñ╔ñ╬Ñ█Ñ╣Ñ╚ñ¼ Ñ╡í╝Ñ╨ñ╬ñóñδ╬╬░Φñ≥ÑóÑ»Ñ╗Ñ╣ñ╟ñ¡ñδñ½ñ╦▒╞╢┴ñ≥═┐ñ¿ñ▐ñ╣íú ÑóÑ»Ñ╗Ñ╣ñ╧Ñ█Ñ╣Ñ╚╠╛íóIP ÑóÑ╔Ñ∞Ñ╣íóIP ÑóÑ╔Ñ∞Ñ╣ñ╬╚╧░╧ñΣíó ┤─╢¡╩╤┐⌠ñ╚ñ╖ñ╞╝Φ╞└ñ╡ñ∞ñ┐íóñ╜ñ╬┬╛ñ╬Ñ»ÑΘÑñÑóÑ≤Ñ╚ñ╬ÑΩѻѿÑ╣Ñ╚ñ╬ ╞├─ºñ╦ñΦñ├ñ╞└⌐╕µñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú</p> <p>ñ│ñ╬Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╬║╟╜Θñ╬░·┐⌠ñ╧╛∩ñ╦ <code>from</code> ñ╟ñ╣íú ñ╜ñ∞ñ╦┬│ñ»░·┐⌠ñ╧╗░ñ─ñ╬░πñ├ñ┐╖┴╝░ñ¼ñóñΩñ▐ñ╣íú<code>Allow from all</code> ñ¼╗╪─Ωñ╡ñ∞ñ╞ñññ∞ñ╨íóñ╣ñ┘ñ╞ñ╬Ñ█Ñ╣Ñ╚ñ╦ÑóÑ»Ñ╗Ñ╣ñ≥╡÷▓─ñ╖íó ÑóÑ»Ñ╗Ñ╣└⌐╕┬ñ╧▓╝ñ╟└Γ╠└ñ╡ñ∞ñ╞ñññδñΦñªñ╦íó <code class="directive"><a href="#deny">Deny</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╚ <code class="directive"><a href="#order">Order</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╬└▀─Ωñ╟╖Φñ▐ñΩñ▐ñ╣íú ╞├─Ωñ╬Ñ█Ñ╣Ñ╚ñΣÑ█Ñ╣Ñ╚╖▓ñ╦ñ╬ñ▀Ñ╡í╝Ñ╨ñ╪ñ╬ÑóÑ»Ñ╗Ñ╣ñ≥╡÷▓─ñ╣ñδñ┐ñßñ╦ñ╧íó ░╩▓╝ñ╬ñ╔ñ∞ñ½ñ╬╖┴╝░ñ╟ <var>host</var> ñ≥╗╪─Ωñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣:</p> <dl> <dt>Ñ╔ÑßÑñÑ≤╠╛ (ñ╬░∞╔⌠)</dt> <dd> <div class="example"><h3>╬π:</h3><p><code> Allow from apache.org </code></p></div> <p>ñ│ñ╬╩╕╗·╬≤ñ╦╣τñªñ½íóñ│ñ∞ñ╟╜¬ñ∩ñδ╠╛┴░ñ╬Ñ█Ñ╣Ñ╚ñ╬ÑóÑ»Ñ╗Ñ╣ñ¼╡÷▓─ñ╡ñ∞ñ▐ñ╣íú │╞╔⌠╩¼ñ¼┤░┴┤ñ╦╣τñªñΓñ╬ñ└ñ▒ñ╦┼¼═╤ñ╡ñ∞ñ▐ñ╣ñ╬ñ╟íó╛σñ╬╬πñ╧ <code>foo.apache.org</code> ñ╦ñ╧Ñ▐Ñ├Ñ┴ñ╖ñ▐ñ╣ñ¼íó <code>fooapache.org</code> ñ╦ñ╧Ñ▐Ñ├Ñ┴ñ╖ñ▐ñ╗ñ≤íú ñ│ñ╬└▀─Ωñ≥ñ╣ñδñ╚íóApache ñ╧ <code class="directive"><a href="../mod/core.html#hostnamelookups">HostnameLookups</a></code> ñ╬└▀─Ωñ╦┤╪ñ∩ñΘñ║íóÑ»ÑΘÑñÑóÑ≤Ñ╚ñ╬ IP ÑóÑ╔Ñ∞Ñ╣ñ╦┬╨ñ╖ñ╞ ╞≤╜┼ñ╬ DNS ñ╬╡╒░·ñ¡ñ≥╣╘ñ╩ñññ▐ñ╣íúñ▐ñ║ IP ÑóÑ╔Ñ∞Ñ╣ñ╦┬╨ñ╖ñ╞ DNS ñ╬ ╡╒░·ñ¡ñ≥╣╘ñ╩ñ├ñ╞Ñ█Ñ╣Ñ╚╠╛ñ≥╞└íóñ╜ñ╬Ñ█Ñ╣Ñ╚╠╛ñ╦┬╨ñ╖ñ╞└╡░·ñ¡ñ≥ ╣╘ñ╩ññíó╕╡ñ╬ IP ÑóÑ╔Ñ∞Ñ╣ñ╚░∞├╫ñ╣ñδñ½ñ≥─┤ñ┘ñ▐ñ╣íúDNS ñ╬└╡░·ñ¡ñ╚ ╡╒░·ñ¡ñ¼╠╡╠╖╜Γñ½ñ─Ñ█Ñ╣Ñ╚╠╛ñ¼░∞├╫ñ╣ñδñ╚ñ¡ñ╦ñ╬ñ▀ ÑóÑ»Ñ╗Ñ╣ñ¼╡÷▓─ñ╡ñ∞ñ▐ñ╣íú</p></dd> <dt>┤░┴┤ñ╩ IP ÑóÑ╔Ñ∞Ñ╣</dt> <dd> <div class="example"><h3>╬π:</h3><p><code> Allow from 10.1.2.3 </code></p></div> <p>ÑóÑ»Ñ╗Ñ╣ñ≥╡÷▓─ñ╣ñδ IP ÑóÑ╔Ñ∞Ñ╣ñ╟ñ╣íú</p></dd> <dt>IP ÑóÑ╔Ñ∞Ñ╣ñ╬░∞╔⌠</dt> <dd> <div class="example"><h3>╬π:</h3><p><code> Allow from 10.1 </code></p></div> <p>Ñ╡Ñ╓Ñ═Ñ├Ñ╚ñ╬└⌐╕┬═╤ñ╬íóIP ÑóÑ╔Ñ∞Ñ╣ñ╬║╟╜Θñ╬░∞ñ─ñ½ñΘ╗░ñ─ñ▐ñ╟ñ╬Ñ╨ÑñÑ╚ñ╟ñ╣íú</p></dd> <dt>Ñ═Ñ├Ñ╚Ñ∩í╝Ñ»/Ñ═Ñ├Ñ╚Ñ▐Ñ╣Ñ» ñ╬┬╨</dt> <dd> <div class="example"><h3>╬π:</h3><p><code> Allow from 10.1.0.0/255.255.0.0 </code></p></div> <p>Ñ═Ñ├Ñ╚Ñ∩í╝Ñ» a.b.c.d ñ╚Ñ═Ñ├Ñ╚Ñ▐Ñ╣Ñ» w.x.y.z ñ╟ñ╣íú ñΦñΩ║┘╬│┼┘ñ╬Ñ╡Ñ╓Ñ═Ñ├Ñ╚└⌐╕┬═╤ñ╟ñ╣íú</p></dd> <dt>Ñ═Ñ├Ñ╚Ñ∩í╝Ñ»/nnn CIDR ╗╪─Ω</dt> <dd> <div class="example"><h3>╬π:</h3><p><code> Allow from 10.1.0.0/16 </code></p></div> <p>Ñ═Ñ├Ñ╚Ñ▐Ñ╣Ñ»ñ¼ nnn ñ╬╛σ░╠Ñ╙Ñ├Ñ╚ñ¼ 1 ñ╚ñ╩ñ├ñ╞ñññδñΓñ╬ñ½ñΘñ╩ñδñ│ñ╚░╩│░ñ╧┴░ñ╬ñΓñ╬ñ╚╞▒ñ╕ñ╟ñ╣íú</p></dd> </dl> <p>├φ: ║╟╕σñ╬╗░ñ─ñ╬╬πñ╧ñ▐ñ├ñ┐ñ»╞▒ñ╕Ñ█Ñ╣Ñ╚ñ╦╣τñññ▐ñ╣íú</p> <p>IPv6 ÑóÑ╔Ñ∞Ñ╣ñ╚ IPv6 ñ╬Ñ╡Ñ╓Ñ═Ñ├Ñ╚ñ╧░╩▓╝ñ╬ñΦñªñ╦╗╪─Ωñ╟ñ¡ñ▐ñ╣:</p> <div class="example"><p><code> Allow from fe80::a00:20ff:fea7:ccea<br /> Allow from fe80::a00:20ff:fea7:ccea/10 </code></p></div> <p><code class="directive">Allow</code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╬░·┐⌠ñ╬╗░ñ─╠▄ñ╬╖┴╝░ñ╧íó <a href="../env.html">┤─╢¡╩╤┐⌠</a> ñ╬┬╕║▀ñ╦ñΦñΩÑóÑ»Ñ╗Ñ╣ñ╬└⌐╕µñ≥╣╘ñ╩ñ¿ñδñΦñªñ╦ñ╣ñδñΓñ╬ñ╟ñ╣íú <code>Allow from env=<var>env-variable</var></code> ñ¼╗╪─Ωñ╡ñ∞ñ╞ñññδñ╚íó┤─╢¡╩╤┐⌠ <var>env-variable</var> ñ¼┬╕║▀ñ╖ñ┐╛∞╣τñ╦ÑΩѻѿÑ╣Ñ╚ñ╧ÑóÑ»Ñ╗Ñ╣ñ≥╡÷▓─ñ╡ñ∞ñ▐ñ╣íúÑ╡í╝Ñ╨ñ╧ <code class="module"><a href="../mod/mod_setenvif.html">mod_setenvif</a></code> ñ╬Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╦ñΦñΩíóÑ»ÑΘÑñÑóÑ≤Ñ╚ñ╬ÑΩѻѿÑ╣Ñ╚ ñ╬╞├─ºñ╦┤≡ñ┼ñññ╞╜└╞≡ñ╦┤─╢¡╩╤┐⌠ñ≥└▀─Ωñ╣ñδ╡í╟╜ñ≥─≤╢íñ╖ñ▐ñ╣íú ñ╟ñ╣ñ½ñΘíóñ│ñ╬Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧Ñ»ÑΘÑñÑóÑ≤Ñ╚ñ╬ <code>User-Agent</code> (Ñ╓ÑΘѪÑ╢ñ╬╝∩╬α)íó<code>Referer</code> ñΣ┬╛ñ╬ HTTP ÑΩѻѿÑ╣Ñ╚ñ╬Ñ╪Ñ├Ñ└Ñ╒Ñúí╝ÑδÑ╔ñ╩ñ╔ñ╦┤≡ñ┼ñññ╞ ÑóÑ»Ñ╗Ñ╣╡÷▓─ñ≥ñ╣ñδñ┐ñßñ╦╗╚ñªñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú </p> <div class="example"><h3>╬π:</h3><p><code> SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in<br /> <Directory /docroot><br /> <span class="indent"> Order Deny,Allow<br /> Deny from all<br /> Allow from env=let_me_in<br /> </span> </Directory> </code></p></div> <p>ñ│ñ╬╛∞╣τíóuser-agent ñ╬╩╕╗·╬≤ñ¼ <code>KnockKnock/2.0</code> ñ╟╗╧ñ▐ñδÑ╓ÑΘѪÑ╢ñ╬ñ▀ñ¼ÑóÑ»Ñ╗Ñ╣ñ≥╡÷▓─ñ╡ñ∞íó ┬╛ñ╬ñΓñ╬ñ╧ÑóÑ»Ñ╗Ñ╣ñ≥╡±╚▌ñ╡ñ∞ñ▐ñ╣íú</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Deny" id="Deny">Deny</a> <a name="deny" id="deny">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">└Γ╠└:</a></th><td>Ñ╡í╝Ñ╨ñ¼ÑóÑ»Ñ╗Ñ╣ñ≥╡±╚▌ñ╣ñδÑ█Ñ╣Ñ╚ñ≥└⌐╕µñ╣ñδ</td></tr> <tr><th><a href="directive-dict.html#Syntax">╣╜╩╕:</a></th><td><code> Deny from all|<var>host</var>|env=<var>env-variable</var> [<var>host</var>|env=<var>env-variable</var>] ...</code></td></tr> <tr><th><a href="directive-dict.html#Context">Ñ│Ñ≤Ñ╞Ñ¡Ñ╣Ñ╚:</a></th><td>Ñ╟ÑúÑ∞Ñ»Ñ╚ÑΩ, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">╛σ╜±ñ¡:</a></th><td>Limit</td></tr> <tr><th><a href="directive-dict.html#Status">Ñ╣Ñ╞í╝Ñ┐Ñ╣:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">ÑΓÑ╕Ñσí╝Ñδ:</a></th><td>mod_access</td></tr> </table> <p>ñ│ñ╬Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧Ñ█Ñ╣Ñ╚╠╛íóIP ÑóÑ╔Ñ∞Ñ╣íó┤─╢¡╩╤┐⌠ñ╦┤≡ñ┼ñññ╞Ñ╡í╝Ñ╨ñ╪ñ╬ÑóÑ»Ñ╗Ñ╣ñ≥└⌐╕┬ñ╖ñ▐ñ╣íú <code class="directive">Deny</code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╬░·┐⌠ñ╧ <code class="directive"><a href="#allow">Allow</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╚ñ▐ñ├ñ┐ñ»╞▒ñ╕ñ╟ñ╣íú</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Order" id="Order">Order</a> <a name="order" id="order">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">└Γ╠└:</a></th><td>Ñ╟Ñ╒Ñ⌐ÑδÑ╚ñ╬ÑóÑ»Ñ╗Ñ╣▓─╟╜ñ╩╛⌡┬╓ñ╚íóAllow ñ╚ Deny ñ¼╔╛▓┴ñ╡ñ∞ñδ╜τ╚╓ñ≥└⌐╕µñ╣ñδ</td></tr> <tr><th><a href="directive-dict.html#Syntax">╣╜╩╕:</a></th><td><code> Order <var>ordering</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">Ñ╟Ñ╒Ñ⌐ÑδÑ╚:</a></th><td><code>Order Deny,Allow</code></td></tr> <tr><th><a href="directive-dict.html#Context">Ñ│Ñ≤Ñ╞Ñ¡Ñ╣Ñ╚:</a></th><td>Ñ╟ÑúÑ∞Ñ»Ñ╚ÑΩ, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">╛σ╜±ñ¡:</a></th><td>Limit</td></tr> <tr><th><a href="directive-dict.html#Status">Ñ╣Ñ╞í╝Ñ┐Ñ╣:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">ÑΓÑ╕Ñσí╝Ñδ:</a></th><td>mod_access</td></tr> </table> <p><code class="directive">Order</code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧Ñ╟Ñ╒Ñ⌐ÑδÑ╚ñ╬ÑóÑ»Ñ╗Ñ╣ñ╬╛⌡┬╓ñ╚ <code class="directive"><a href="#allow">Allow</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╚ <code class="directive"><a href="#deny">Deny</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ¼╔╛▓┴ñ╡ñ∞ñδ╜τ╚╓ñ≥└⌐╕µñ╖ñ▐ñ╣íú <var>Ordering</var> ñ╧░╩▓╝ñ╬ñ╔ñ∞ñ½ñ╟ñ╣íú</p> <dl> <dt><code>Deny,Allow</code></dt> <dd><code class="directive"><a href="#deny">Deny</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ¼ <code class="directive"><a href="#allow">Allow</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╬┴░ñ╦╔╛▓┴ñ╡ñ∞ñ▐ñ╣íú ÑóÑ»Ñ╗Ñ╣ñ╧Ñ╟Ñ╒Ñ⌐ÑδÑ╚ñ╟╡÷▓─ñ╡ñ∞ñ▐ñ╣íú<code class="directive"><a href="#deny">Deny</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╦╣τñ∩ñ╩ñññ½íó<code class="directive"><a href="#allow">Allow</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╦╣τñªÑ»ÑΘÑñÑóÑ≤Ñ╚ñ╧ÑóÑ»Ñ╗Ñ╣ñ≥╡÷▓─ñ╡ñ∞ñ▐ñ╣íú</dd> <dt><code>Allow,Deny</code></dt> <dd><code class="directive"><a href="#allow">Allow</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ¼ <code class="directive"><a href="#deny">Deny</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╬┴░ñ╦╔╛▓┴ñ╡ñ∞ñ▐ñ╣íú ÑóÑ»Ñ╗Ñ╣ñ╧Ñ╟Ñ╒Ñ⌐ÑδÑ╚ñ╟╡±╚▌ñ╡ñ∞ñ▐ñ╣íú<code class="directive"><a href="#allow">Allow</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╦╣τñ∩ñ╩ñññ½íó<code class="directive"><a href="#deny">Deny</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╦╣τñªÑ»ÑΘÑñÑóÑ≤Ñ╚ñ╧ÑóÑ»Ñ╗Ñ╣ñ≥╡±╚▌ñ╡ñ∞ñ▐ñ╣íú </dd> <dt><code>Mutual-failure</code></dt> <dd><code class="directive"><a href="#allow">Allow</a></code> ñ╬ÑΩÑ╣Ñ╚ñ╦╕╜ñ∞ñ╞íó <code class="directive"><a href="#deny">Deny</a></code> ñ╬ÑΩÑ╣Ñ╚ñ╦╕╜ñ∞ñ╩ññÑ█Ñ╣Ñ╚ñ╬ñ▀ñ¼ÑóÑ»Ñ╗Ñ╣ñ≥╡÷▓─ñ╡ñ∞ñ▐ñ╣íú ñ│ñ╬╜τ╚╓╔╒ñ▒ñ╧ <code>Order Allow,Deny</code> ñ╚╞▒ñ╕╕·▓╠ñ≥╗²ñ┴íó ñ╜ñ╬└▀─Ωñ╬╩²ñ¼╣Ññ▐ñ╖ñññ┐ñßñ╦╚≤┐Σ╛⌐ñ╚ñ╩ñ├ñ╞ñññ▐ñ╣íú</dd> </dl> <p>Ñ¡í╝Ñ∩í╝Ñ╔ñ╧Ñ│Ñ≤Ñ▐ñ╟╩¼╬Ññ╣ñδñ│ñ╚ñ└ñ▒ñ¼▓─╟╜ñ╟ñ╣íú ┤╓ñ╦<em>╢⌡╟≥ñ¼ñóñ├ñ╞ñ╧ñññ▒ñ▐ñ╗ñ≤</em>íúñ╔ñ╬╛∞╣τñ╟ñΓíó<code class="directive"><a href="#allow">Allow</a></code> ñ╚ <code class="directive"><a href="#deny">Deny</a></code> ╩╕ñ╧ ┴┤ñ╞╔╛▓┴ñ╡ñ∞ñδñ╚ñññªñ│ñ╚ñ╦├φ░╒ñ╖ñ╞ñ»ñ└ñ╡ññíú </p> <p>░╩▓╝ñ╬╬πñ╟ñ╧íóapache.org Ñ╔ÑßÑñÑ≤ñ╬ñ╣ñ┘ñ╞ñ╬Ñ█Ñ╣Ñ╚ñ╧ÑóÑ»Ñ╗Ñ╣ñ≥╡÷▓─ñ╡ñ∞ñ▐ñ╣íú ┬╛ñ╬ñ╣ñ┘ñ╞ñ╬Ñ█Ñ╣Ñ╚ñ╧ÑóÑ»Ñ╗Ñ╣ñ≥╡±╚▌ñ╡ñ∞ñ▐ñ╣íú</p> <div class="example"><p><code> Order Deny,Allow<br /> Deny from all<br /> Allow from apache.org </code></p></div> <p>╝íñ╬╬πñ╟ñ╧íófoo.apache.org Ñ╡Ñ╓Ñ╔ÑßÑñÑ≤ñ╦ñóñδÑ█Ñ╣Ñ╚░╩│░ñ╬íó apache.org Ñ╔ÑßÑñÑ≤ñ╬ñ╣ñ┘ñ╞ñ╬Ñ█Ñ╣Ñ╚ñ¼ÑóÑ»Ñ╗Ñ╣ñ≥╡÷▓─ñ╡ñ∞ñ▐ñ╣íú apache.org Ñ╔ÑßÑñÑ≤ñ╟ñ╩ññÑ█Ñ╣Ñ╚ñ╧íóÑ╟Ñ╒Ñ⌐ÑδÑ╚ñ╬╛⌡┬╓ñ¼ÑóÑ»Ñ╗Ñ╣╡±╚▌ñ╬ñ┐ñßíó Ñ╡í╝Ñ╨ñ╪ñ╬ÑóÑ»Ñ╗Ñ╣ñ≥╡±╚▌ñ╡ñ∞ñ▐ñ╣íú</p> <div class="example"><p><code> Order Allow,Deny<br /> Allow from apache.org<br /> Deny from foo.apache.org </code></p></div> <p>░∞╩²íó╛σñ╬╬πñ╬ <code class="directive">Order</code> ñ¼ <code>Deny,Allow</code> ñ╦╩╤ñ∩ñ├ñ╞ñññ∞ñ╨íóñ╣ñ┘ñ╬Ñ█Ñ╣Ñ╚ñ╦ÑóÑ»Ñ╗Ñ╣ñ¼╡÷▓─ñ╡ñ∞ñ▐ñ╣íú ñ│ñ∞ñ╧íó└▀─ΩÑ╒ÑíÑñÑδ├µñ╬╝┬║▌ñ╬╜τ╚╓ñ╦┤╪ñ∩ñΘñ║íó <code>Allow from apache.org</code> ñ¼║╟╕σñ╦╔╛▓┴ñ╡ñ∞ñ╞íó <code>Deny from foo.apache.org</code> ñ≥╛σ╜±ñ¡ñ╣ñδñ½ñΘñ╟ñ╣íú <code>apache.org</code> Ñ╔ÑßÑñÑ≤ñ╦ñ╩ññÑ█Ñ╣Ñ╚ñΓíóÑ╟Ñ╒Ñ⌐ÑδÑ╚ñ╬╛⌡┬╓ñ¼ <var>allow</var> ñ╦╩╤▓╜ñ╣ñδñ┐ñßñ╦íóÑóÑ»Ñ╗Ñ╣ñ≥╡÷▓─ñ╡ñ∞ñ▐ñ╣íú </p> <p><code class="directive">Order</code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧Ñ╟Ñ╒Ñ⌐ÑδÑ╚ñ╬ÑóÑ»Ñ╗Ñ╣ñ╬╛⌡┬╓ñ╦▒╞╢┴ñ≥═┐ñ¿ñδñ╬ñ╟íó <code class="directive"><a href="#allow">Allow</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╚ <code class="directive"><a href="#deny">Deny</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ¼╠╡ñ»ñ╞ñΓíóÑ╡í╝Ñ╨ñ╬ÑóÑ»Ñ╗Ñ╣ñ╦▒╞╢┴ñ≥═┐ñ¿ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú ñ┐ñ╚ñ¿ñ╨íó</p> <div class="example"><p><code> <Directory /www><br /> <span class="indent"> Order Allow,Deny<br /> </span> </Directory> </code></p></div> <p>ñ╧Ñ╟Ñ╒Ñ⌐ÑδÑ╚ñ╬ÑóÑ»Ñ╗Ñ╣╛⌡┬╓ñ¼ <var>deny</var> ñ╦ñ╩ñδñ┐ñßíó <code>/www</code> Ñ╟ÑúÑ∞Ñ»Ñ╚ÑΩñ╪ñ╬ñ╣ñ┘ñ╞ñ╬ÑóÑ»Ñ╗Ñ╣ñ≥╡±╚▌ñ╖ñ▐ñ╣íú </p> <p><code class="directive">Order</code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧Ñ╡í╝Ñ╨ñ╬└▀─Ω╜Φ═²ñ╬│╞├╩│¼ñ╟ñ└ñ▒ ÑóÑ»Ñ╗Ñ╣Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╬╜Φ═²ñ╬╜τ╚╓ñ≥╩╤╣╣ñ╖ñ▐ñ╣íúñ│ñ∞ñ╧íóñ┐ñ╚ñ¿ñ╨íó <code class="directive">Order</code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╬└▀─Ωñ╦┤╪ñ∩ñΘñ║íó <code class="directive"><a href="../mod/core.html#location"><Location></a></code> Ñ╗Ñ»Ñ╖ÑτÑ≤ñ╬ <code class="directive"><a href="#allow">Allow</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñΣ <code class="directive"><a href="#deny">Deny</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧íó <code class="directive"><a href="../mod/core.html#directory">Directory</a></code> Ñ╗Ñ»Ñ╖ÑτÑ≤ñΣ <code>.htaccess</code> Ñ╒ÑíÑñÑδñ╬ <code class="directive"><a href="#allow">Allow</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñΣ <code class="directive"><a href="#deny">Deny</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñΦñΩñΓ╛∩ñ╦╕σñ╦╔╛▓┴ñ╡ñ∞ñδñ╚ñññªñ│ñ╚ñ≥░╒╠úñ╖ñ▐ñ╣íú └▀─ΩÑ╗Ñ»Ñ╖ÑτÑ≤ñ╬Ñ▐í╝Ñ╕ñ╬╛▄║┘ñ╦ñ─ñññ╞ñ╧íó <a href="../sections.html">Directory,Location, Files Ñ╗Ñ»Ñ╖ÑτÑ≤ñ╬╞░║ε╩²╦í</a> ñ≥╗▓╛╚ñ╖ñ╞ñ»ñ└ñ╡ññíú</p> </div> </div> <div class="bottomlang"> <p><span>Available Languages: </span><a href="../en/mod/mod_access.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ja/mod/mod_access.html" title="Japanese"> ja </a></p> </div><div id="footer"> <p class="apache">Copyright 1999-2004 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">ÑΓÑ╕Ñσí╝Ñδ</a> | <a href="../mod/directives.html">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">═╤╕∞</a> | <a href="../sitemap.html">Ñ╡ÑñÑ╚Ñ▐Ñ├Ñ╫</a></p></div> </body></html>